package com.elite;

//import com.elite.config.BeanConfig;
import com.elite.config.ConfigProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.core.env.ConfigurableEnvironment;


@SpringBootApplication
@EnableAspectJAutoProxy
public class MySpringBootApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(MySpringBootApplication.class, args);
		System.out.println("context = " + context);

//		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(BeanConfig.class);
//		for (String beanDefinitionName : context.getBeanDefinitionNames()) {
//			System.out.println("beanDefinitionName = " + beanDefinitionName);
//		}

	}
}
